﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace FleetClientTest
{
	class Program
	{
		static void Main(string[] args)
		{
			Console.WriteLine("Enter a message for the server, and hit enter.");
			int i = 0;
			while (true)
			{
				string serverIP = "localhost";
				string input = "Hello"+i;//Console.ReadLine();
				try
				{
					Client.Connect(serverIP, input);
				}
				catch (Exception e)
				{
					Console.WriteLine(e.Message);
					//Console.ReadKey();
				}

				Console.WriteLine("Press any Key to end program.");
				Thread.Sleep(10);
				i++;
			}
		}
	}
}
